//
//  MatchTopView.swift
//  JTYP
//
//  Created by Groot on 2017/12/9.
//  Copyright © 2017年 inspur. All rights reserved.
//

class CustomTopView: UIView {
    
    @IBOutlet weak var navTitleLab: UILabel!
    @IBOutlet weak var backGroundImgView: UIImageView!
    
    override func awakeFromNib() {
    }
    
    func setTitle(title: String, imgName: String) {
        navTitleLab.text = title
        backGroundImgView.image = UIImage.init(named: imgName)
    }
    
}
